package chapter6_1_LockSupport;

import java.util.concurrent.locks.LockSupport;

/**
 * @author huayuhao
 * @date 2020/12/17 9:35
 */
public class TestBlockerPark {

    public void park(){
        LockSupport.park(this);
    }

    public static void main(String[] args) throws InterruptedException {
        new TestBlockerPark().park();
        Thread.sleep(3000);
    }
}
